/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mavenrentcars.dao;

import com.mavenrentcars.model.Car;
import com.mavenrentcars.model.Place;
import com.mavenrentcars.model.User;
import java.util.Date;
import java.util.List;

/**
 *
 * @author serg
 */
public interface CarDao extends GenericDao<Car, Integer> {

    public List<Car> getAll(User account);

    public List<Car> getAll(Date start_date, Date end_date);

    public List<Car> getAll(Place start_place);

    public List<Car> getAll(Place start_place, Date start_date, Date end_date);
}
